package com.zhss.eshop.order.price.promotion;


import com.zhss.eshop.order.domain.dto.OrderItemDTO;
import com.zhss.eshop.promotion.domain.dto.PromotionActivityDTO;
import org.springframework.stereotype.Component;

/**
 * 没有促销活动的计算组件
 * @author suyuan
 *
 */
@Component
public class DefaultPromotionActivityCalculator implements PromotionActivityCalculator {

	/**
	 * 计算促销活动减免的金额
	 */
	@Override
	public PromotionActivityResult calculate(OrderItemDTO item,
											 PromotionActivityDTO promotionActivity) {
		return new PromotionActivityResult();
	}

}
